package cn.edu.xmu.javaee.productdemoaop.mapper.way3.po;

import cn.edu.xmu.javaee.productdemoaop.mapper.generator.po.OnSalePo;
import cn.edu.xmu.javaee.productdemoaop.mapper.generator.po.ProductPo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 商品规格
 * @author Ming Qiu
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ProductW3Po {

    /**
     * 代理对象
     */
    private Long id;

    private ProductPo otherProduct;

    private OnSalePo onSale;

    private String skuSn;

    private String name;

    private Long originalPrice;

    private Long weight;

    private String barcode;

    private String unit;
    private String originPlace;

    private Long creatorId;

    private String creatorName;

    private Long modifierId;

    private String modifierName;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;

    private Integer commissionRatio;

    private Long freeThreshold;

    private Byte status;

    public ProductPo getOtherProduct() {
        return otherProduct;
    }

    public OnSalePo getOnSale() {
        return onSale;
    }

    public String getSkuSn() {
        return skuSn;
    }

    public String getName() {
        return name;
    }

    public Long getOriginalPrice() {
        return originalPrice;
    }

    public Long getWeight() {
        return weight;
    }

    public String getBarcode() {
        return barcode;
    }

    public String getUnit() {
        return unit;
    }

    public String getOriginPlace() {
        return originPlace;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public Long getModifierId() {
        return modifierId;
    }

    public String getModifierName() {
        return modifierName;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public Integer getCommissionRatio() {
        return commissionRatio;
    }

    public Long getFreeThreshold() {
        return freeThreshold;
    }

    public Byte getStatus() {
        return status;
    }
    public Long getId()
    {
        return id;
    }


}
